/**
 * CSS styles for form and input fields.
 *
 * These styles are used with form and input fields generated via yiic script.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2009 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

div.yiiForm
{
	border: 2px solid #B7DDF2;
	background: #EBF4FB;
	margin: 0;
	padding: 5px;
	width: 700px;
}

label.required
{
}
div.yiiForm select
{
    width:120px;
}
span.required
{
	color: red;
}

div.errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

div.errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.errorSummary ul li
{
	list-style: square;
}

div.yiiForm p.hint
{
	color: gray;
	font-size: 90%;
	margin: 0 0 0 110px;
}

div.yiiForm label
{
}

div.yiiForm div.action
{
	clear: left;
	margin-left: 110px;
	padding: 0.25em 0;
}

div.simple,
div.complex,
div.row
{
	clear: left;
	padding: 0.25em 0;
}

div.simple label,
div.complex span,
div.row label
{
	display: block;
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}
label.error,
span.error
{
	color: #C00;
}
input.error,
textarea.error,
select.error
{
	background: #FEE;
	border-color: #C00;
}
div.simple div.big,
div.complex div.big
{
    display:inline-block;
    width:49%;
}
div.simple div.small label,
div.complex div.small label
{
    width:82px;
}
div.simple div.big label,
div.complex div.big label
{
    width:100px;
}
div.simple div.smaller label,
div.complex div.smaller label
{
    width:20px;
}

div.wide form label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide form .row
{
	clear: left;
}

div.wide form .buttons
{
	clear: left;
	padding-left: 110px;
}

div.wide form .errorMessage
{
	margin: 0 0 0 110px;
}

div.form .col {
    display:inline-block;
}